package com.activiti.z_six.mapper.formComponentsMapper;

import com.activiti.z_six.entity.formComponents.FormSortEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface FormSortEntityMapper {
    /*
    获取表单分类列表
     */
    List<FormSortEntity> formSortList();
    /*
    增加
     */
    int addFormSort(FormSortEntity formSortEntity);
    /*
    更新
     */
    int updateFormSort(FormSortEntity formSortEntity);
    /*
    删除
     */
    int deleteFormSort(String id);
    /*
    获取单条详细信息
     */
    FormSortEntity formSort(String id);
}
